package com.summer.data.rs;

import com.summer.data.dialect.Dialect;

import java.sql.SQLException;

/**
 * @author 345480567@qq.com
 */

public interface MapFun<Source, Target> {

    void mapBegin(Source source) throws SQLException;

    void mapEnd(Source source) throws SQLException;

    Target map(Source source, Dialect dialect) throws SQLException;
}

